package com.common.util;

import java.util.Calendar;
import java.util.Date;

public class GetMonth {
	public static Integer getMonth(Date date) {
		Calendar c = Calendar.getInstance();
		c.setTime(date);
		Integer month = c.get(Calendar.MONTH);
		return month+1;
	}
}
